package com.factory.react;

public class initfacctory {

    public static void main(String args[]){
        animal anni = animalfactory.getmethod("dog");
        anni.eat();
    }
}
